Skip to content

P0: first-run path fix, trigger-optimized description, Pages live demo#2

Merged
Jaderson-bit merged 3 commits into
masterfrom
p0-distribution
Jun 9, 2026
Merged

P0: first-run path fix, trigger-optimized description, Pages live demo#2
Jaderson-bit merged 3 commits into
masterfrom
p0-distribution

Conversation

@Jaderson-bit

Copy link
Copy Markdown
Owner

Three P0 items from the product review:

  • First-run path fix - SKILL.md/README usage snippets now resolve scripts/ from the skill base directory instead of the CWD (the old snippets hit ImportError when invoked from a user project).
  • Trigger-optimized description + a 'When to use this skill' section (also required by the daymade marketplace checklist).
  • GitHub Pages live demo - docs/index.html is a real build_html output (self-contained, offline), browser-verified (root + 6 branches, full toolbar incl. SVG/PNG export). Pages is configured to serve master:/docs, so it goes live on merge.

All 41 regression checks pass; skill-creator quick_validate reports 'Skill is valid!'.

🤖 Generated with Claude Code

Jaderson-bit and others added 3 commits June 9, 2026 18:11
…e CWD

The usage snippets said sys.path.insert(0, scripts), which only works
when the working directory happens to be the skill root. In a real
session the CWD is the user's project, so the first invocation hit an
ImportError before self-correcting.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ction

Description now leads with the outcome (offline single-file map), names more of the phrasings users actually type (concept map, visualize the structure of a doc, summarize notes as a navigable tree, clickable outline), and nudges activation even when 'mind map' is not said. The new section doubles as the marketplace's required 'When to Use'.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
docs/index.html is a real build_html output (self-contained, offline) of docs/demo.md, served via Pages from master:/docs. Browser-verified: root + 6 branches render, full toolbar incl. SVG/PNG export.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 9, 2026 21:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the skill and repository documentation to (1) fix first-run import/path guidance so examples work when executed from a user project directory, (2) improve the skill’s trigger-focused description and add explicit “When to use this skill” guidance, and (3) add a docs-side demo Markdown source intended for a GitHub Pages live demo workflow.

Changes:

  • Update SKILL.md description and add a “When to use this skill” section; revise usage snippets to build scripts/ paths from the skill base directory rather than CWD.
  • Update README.md with a GitHub Pages live demo link and adjust usage snippets to reference the installed skill directory explicitly.
  • Add docs/demo.md as a demo outline with markmap frontmatter options.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
SKILL.md Improves trigger guidance and fixes usage snippets to resolve scripts/ reliably from the skill directory.
README.md Adds live demo link and updates example code to import helpers using an explicit skill install path.
docs/demo.md Adds a demo Markdown outline (with markmap frontmatter) for generating/hosting an example mind map.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Jaderson-bit Jaderson-bit merged commit 238532e into master Jun 9, 2026
1 check passed
@Jaderson-bit Jaderson-bit deleted the p0-distribution branch June 9, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants